package src;



public class Student {                 
	
	
	private String id;         
	private String name;         
	
	public Student(String name) {      
		this.name = name;     
		}        
	
	public Student(String id, String name) {   
		this.id = id;               
		this.name = name;       
		}      
	
	
	@Override        
	public boolean equals(Object obj) {       
		return (this.id == ((Student)obj).id);     
		}             
	
	
         
		
	public String getName() {     
		return this.name;      
		} 
	
	}




